package com.igeek.javase.ch05.JDBC.entity;

/**
 * @author chenmin
 * 2023/7/20 10:39
 * @description TODO
 */
public class Department {

    private int department_id;
    private String department_name;
    private int manager_id;
    private int location_id;

    public Department() {
    }

    public Department(int department_id, String department_name, int manager_id, int location_id) {
        this.department_id = department_id;
        this.department_name = department_name;
        this.manager_id = manager_id;
        this.location_id = location_id;
    }

    /**
     * 获取
     * @return department_id
     */
    public int getDepartment_id() {
        return department_id;
    }

    /**
     * 设置
     * @param department_id
     */
    public void setDepartment_id(int department_id) {
        this.department_id = department_id;
    }

    /**
     * 获取
     * @return department_name
     */
    public String getDepartment_name() {
        return department_name;
    }

    /**
     * 设置
     * @param department_name
     */
    public void setDepartment_name(String department_name) {
        this.department_name = department_name;
    }

    /**
     * 获取
     * @return manager_id
     */
    public int getManager_id() {
        return manager_id;
    }

    /**
     * 设置
     * @param manager_id
     */
    public void setManager_id(int manager_id) {
        this.manager_id = manager_id;
    }

    /**
     * 获取
     * @return location_id
     */
    public int getLocation_id() {
        return location_id;
    }

    /**
     * 设置
     * @param location_id
     */
    public void setLocation_id(int location_id) {
        this.location_id = location_id;
    }

    public String toString() {
        return "Department{department_id = " + department_id + ", department_name = " + department_name + ", manager_id = " + manager_id + ", location_id = " + location_id + "}";
    }
}
